
#if 0

#include "tools/log/logger.h"

#include <list>

#include <iostream>
using namespace std;


namespace tools{

    struct LogCore
    {
        typedef ::std::string 
            Str;
        typedef ::std::list<Str>
            ListStr;

        ListStr mContent;
    };

    namespace{
        void InvalidCommand()
        {
            #ifdef DEBUG
            const bool INVALID_COMMANDLOG = true;
            assert(!INVALID_COMMANDLOG);
            #endif 
        }
        LogCore& Core()
        {
            static LogCore core;
            return core;
        }
    }//namespace

   
   
   
   Log::~Log()
   {
       Core();
   }
    
   Log::Log(const char* funcName, const char* file, const size_t line)
   {
       (void)funcName;
       (void)file;
       (void)line;
       Core();
   }

   Log& Log::operator<<(const eCOMMANDLOG& command )  
   {
       switch(command)
       {
       case ENDL: 
           Endl(); break;
       default:
           InvalidCommand();
       }
       return *this;
   }

   void Log::Endl()
   {
       cout<<"endl"<<endl;
       Core();
   }
   void Log::Add(const Str& line)
   {
       cout<<"data = " <<line<<endl;

       Core();

      // Connect().Add()
   }


}//namespace tools



#endif